from Page.Page import Page
from Base.Base import Base
from selenium.webdriver.common.by import By
class Page2(Page):
    # 我的酒仙
    sete_01 = (By.XPATH,'/html/body/div[2]/div/div[2]/ul/li[1]/div[1]/a')
    # 关闭
    sete_02 = (By.CLASS_NAME,'uGuideClose')
    # 收货地址
    sete_03 = (By.XPATH,'/html/body/div[4]/div[1]/div[2]/div[4]/a[3]/span')
    # 收货人
    sete_04 = (By.ID,'people')
    # 地区
    sete_05 = (By.ID,'province')
    def jiuxian(self):
        self.click(self.sete_01)
    def close(self):
        self.click(self.sete_02)
    def dress(self):
        self.click(self.sete_03)
    def dress_man(self):
        self.send_keys(self.sete_04,'哈哈哈')

    def jiuxian2(self):
        self.business()
        # self.jiuxian()
        # self.windowSwitching()
        # self.new_winow(800)
        # self.close()
        # self.dress()
        # self.dress_man()
